<div class="header">
  <div class="topinfo">
    <div class="header_inner">
      <ul class="topmenu">
        <li><s><a href="#"></a></s></li><li><b><a href="#"></a></b></li>
        <li><a href="<%linkurl("content","contact")%>">联系我们</a></li>
        <li class="scpst"><a href="<%linkurl("shopping","cart")%>"><strong class="shopcart ie6png">购物车</strong><span class="shopcartnum"><%write get_cart_quantity()%></span></a></li>
        <%if IsUserLogin()%>
        <li><a href="<%linkurl("usercenter","exit")%>">退出</a></li>
        <li><a href="<%linkurl("usercenter","index")%>">会员中心</a></li>
        <%else%>
        <li><a href="<%linkurl("register")%>">注册</a></li>
        <li><a href="<%linkurl("login")%>">登录</a></li>        
        <%/if%>
      </ul>
    </div>
  </div>
  <div class="searchbg">
    <div class="header_inner">
      <div class="search">
        <input id="keywords" name="keywords" class="seainput" type="text" x-webkit-speech="" autofocus="" placeholder="输入回车搜索" onkeydown="if(event.keyCode==13){SiteSearch('{config.webpath}search.aspx', '#keywords');return false};" />
        <input class="seasubmit" type="submit" value="搜索" onclick="SiteSearch('{config.webpath}search.aspx', '#keywords');" />
        <div class="hotkey">热门搜索：<a href="#">牛奶</a><a href="#">牛奶</a><a href="#">牛奶</a><a href="#">牛奶</a></div>
      </div>
      <h1 class="logo"><a title="{config.webname}" href="<%linkurl("index")%>">{config.webname}</a></h1>
    </div>
  </div>
  <div class="navbg ie6png">
    <div class="header_inner">
      <ul class="nav">
        <li><b>商品分类</b></li>
        <li><a href="<%linkurl("index")%>">商城首页</a></li>
        <%set (DataTable){category_listmenu}=get_category_child_list(2, 0)%>
        <%loop cdrmenu category_listmenu%>
        <li class="n<%write cdrmenu__loop__id%>"><a href="<%linkurl("goods_list",{cdrmenu[id]})%>">{cdrmenu[title]}</a></li>
        <%/loop%>
      </ul>
    </div>
  </div>
</div>